package com.cloud.feignclient;

import com.cloud.common.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @Author tangyuan2meicloud.com
 * @DATE 2021/7/7 15:34
 * @Desc
 * @Remarks
 */
@Component
@FeignClient("GPMALL-USER")
public interface UserFeignClient {

    @RequestMapping("/login/validToken")
    R validToken(@RequestParam("token") String token);
}
